package com.xiaomaoguai.redis.hash;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.data.redis.core.HashOperations;
import org.springframework.data.redis.core.ListOperations;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests;

import javax.annotation.Resource;

/**
 * @ FileName: HashTestMain.java
 * @ Author: WeiHui-Z
 * @ Date: 2017/6/26 20:22
 * @ Version: v1.0.0
 * @see ListOperations
 */
@ContextConfiguration(locations = {"classpath:spring-redis.xml"})
public class HashTestMain extends AbstractJUnit4SpringContextTests {

    private static final Logger LOGGER = LoggerFactory.getLogger(HashTestMain.class);

    @Resource(name = "redisTemplate")
    private HashOperations hashOperations;


}
